package cn.zebra.dev.mall.module.orders.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * @Author feifeijunxin
 * @Date 2020/5/8 17:41
 * @Version 1.0
 */
@Getter
@Setter
@ToString
public class BarterDTO {
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("状态(0 用户发货，1 商家签收，2 商家发货，3 用户签收)")
    private Long state;

    @ApiModelProperty("换货的商品名")
    private String productName;

    @ApiModelProperty("换货的商品图片")
    private String productImage;

    @ApiModelProperty("换货的商品规格id")
    private Long productSkuId;

    @ApiModelProperty("换货的商品规格名称")
    private String productSkuName;

    @ApiModelProperty("用户发货物流编号")
    private String userLogisticsCode;

    @ApiModelProperty("店铺发货物流编号")
    private String shopLogisticsCode;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("店铺名")
    private String shopName;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;




}
